package com.srxz.mobilepharmacy.entity;

import lombok.*;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户信息
 */
@Entity
@Table(name="tb_pub_pw")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class UserInfo implements Serializable {
	@EmbeddedId
	private UserInfoPK id;

	@Column(name = "code")
	private Integer code;
	@Column(name = "pwd")
	private String pwd;
	@Column(name = "grp")
	private String grp;
	@Column(name = "pw")
	private String pw;
	@Column(name = "dis")
	private Boolean dis;
	@Column(name = "apwd")
	private Boolean apwd;
	@Column(name = "mpwd")
	private Boolean mpwd;
	@Column(name = "dt")
	private Date dt;
	@Column(name = "role")
	private String role;
	@Column(name = "sk")
	private String sk;
	@Column(name = "prg")
	private Integer prg;
	@Column(name = "ip")
	private Integer ip;
	@Column(name = "pm_ID")
	private String pm_ID;
	@Column(name = "pm_PW")
	private String pm_PW;
	@Column(name = "miCode")
	private String miCode;

}
